package com.solvePlat.entity;

import com.solvePlat.entity.base.PageParam;
import lombok.Data;

import java.util.List;

@Data
public class WorkInfo extends PageParam {
    private String uuid;

    private String title;

    private String content;

    private String status;

    private String createrid;

    private List<String> topicClassification;

    private Integer browsenum;//浏览次数

    private Integer followNum;//关注人数

    private  Integer commentNum;//评论人数

    private String topicClassificationUuids;

    private String rewardGrade;//悬赏分数

    private String type;//0写文章,1写问题


    public WorkInfo(String uuid, String title, String content, String status, String createrid,Integer browsenum) {
        this.uuid = uuid;
        this.title = title;
        this.content = content;
        this.status = status;
        this.createrid = createrid;
        this.browsenum = browsenum;
    }

    public WorkInfo() {
        super();
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid == null ? null : uuid.trim();
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getCreaterid() {
        return createrid;
    }

    public void setCreaterid(String createrid) {
        this.createrid = createrid == null ? null : createrid.trim();
    }
}